<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
                      "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:py="http://genshi.edgewall.org/"
      xmlns:xi="http://www.w3.org/2001/XInclude">

  <xi:include href="tb-master.html" />

<head>
	<meta content="text/html; charset=UTF-8" http-equiv="content-type" />
  	<title></title>
</head>
<body>

<div py:for="album in albums">
	<p>ID : ${album.id}</p>
	<p>Picasa ID : ${album.album_id}</p>
	<p>Thumbnail: ${album.album_thumb}</p>
</div>
<py:for each="pid, pval in picasa.get_albums().iteritems()">
<div py:if="pid not in albums_id">
	<h4>${pval['location']} <span>${pid} </span>
		<span>
		<form method="post" action="/toolbox/photo/delete_album">
				<input type="hidden" name="albumid" value="${pid}" />
                <input type="submit" value="Submit" class="submitbutton"/>
        </form>
		</span>
	</h4>
	<table>
		<tr py:for="key, val in pval.iteritems()">
			<th>${key}</th>
			<td>${val}</td>
		</tr>
	</table>

</div>
<hr />
</py:for>

</body>
</html>
